<?php
//接受用户名和性别
$name=$_POST["uname"];
$sex=$_POST["sex"];
echo "<script>location.href='userlist.php?uname=".$name."&sex=".$sex."';</script>";
?>